package com.ascentive.finallyfast.deepclean;

import android.provider.SearchRecentSuggestions;
import com.ascentive.finallyfast.FinallyFastApplication;
import com.ascentive.finallyfast.R;

public class GmailSearchHistory extends DeepCleanListItem {

//	int noOfItemsDeleted = 0;
	
	public GmailSearchHistory(FinallyFastApplication app, String name, boolean value, int img) {
		super(app, name, value, img);
	}

	@Override
	void doClean() {
		
		SearchRecentSuggestions gmailsrs = new SearchRecentSuggestions(mApp.getApplicationContext(), 
				mApp.getResources().getString(R.string.gmail_search_history_provider),
				1);
		gmailsrs.clearHistory();
		
		return;
	}

	@Override
	int numberOfFileCleaned() {
		return -1;
	}
}
